/**   
* @Project:	Mybatis
* @Title: Order.java
* @Package com.sise.mybatis.po
* @Description: TODO(用一句话描述该文件做什么)
* @author: zhiguo.lin   
* @date 2016年8月21日 上午9:24:56
* @CopyRight: CopyRight@2016
* @version V1.0   
*/


package com.sise.mybatis.po;

import java.util.Date;
import java.util.List;


/**
 * @ClassName: Order
 * @Description: 封装订单基本信息
 * @author: zhiguo.lin
 * @date 2016年8月21日 上午9:24:56
 * 
 */

public class Order {

    private Integer id;
    
    private Integer userId;
    
    private String number;
    
    private Date createTime;
    
    private String note;
    
    private User user;
    
    private List<Order> orderDetails;

    
    public Integer getId() {
        return id;
    }

    
    public void setId(Integer id) {
        this.id = id;
    }

    
    public Integer getUserId() {
        return userId;
    }

    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    
    public String getNumber() {
        return number;
    }

    
    public void setNumber(String number) {
        this.number = number;
    }

    
    public Date getCreateTime() {
        return createTime;
    }

    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    
    public String getNote() {
        return note;
    }

    
    public void setNote(String note) {
        this.note = note;
    }

    
    public User getUser() {
        return user;
    }

    
    public void setUser(User user) {
        this.user = user;
    }


    
    public List<Order> getOrderDetails() {
        return orderDetails;
    }


    
    public void setOrderDetails(List<Order> orderDetails) {
        this.orderDetails = orderDetails;
    }


}
